package com.zhm.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * Date： 2021/3/13 13:09
 *
 * @author ZHM
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {

    @Override
    public String paymentInfo_0K(Integer id) {
        return "PaymentFallbackService --- Fallback -- paymentInfo_0K";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return "PaymentFallbackService --- Fallback -- paymentInfo_timeout";
    }
}
